package com.wkbb.sports.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author lbh
 * @date 2021年03月29日 17:58:34
 * @description: hlife_work  作业信息表
 */
@Data
public class HlifeWork extends BaseEntity{

    @ApiModelProperty(value = "项目ID")
    private Byte projectId;
    @ApiModelProperty(value = "是否需要实名认证")
    private Boolean faceRecognition;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "学校ID")
    private Long orgId;

    @ApiModelProperty(value = "年级ID")
    private Long gradeId;

    @ApiModelProperty(value = "年级名称")
    private String gradeName;

    @ApiModelProperty(value = "班级ID")
    private Long classId;

    @ApiModelProperty(value = "班级名称")
    private String className;

    @ApiModelProperty(value = "教师ID")
    private Long teacherId;

    @ApiModelProperty(value = "教师名称")
    private String teacherName;
    @ApiModelProperty(value = "跳绳类型")
    private String jumpType;

    @ApiModelProperty(value = "教师头像地址")
    private String headImgUrl;

    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "关联作业规则ID")
    private Long ruleId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态(0未开始 1进行中2已结束3已取消)")
    private Integer status;

    @ApiModelProperty(value = "当前班级选中的人数")
    private Integer selectedCount;

    @ApiModelProperty(value = "当前班级所有人数")
    private Integer totalCount;

    @ApiModelProperty(value = "作业要求")
    private HlifeWorkRule hlifeWorkRule;


    //========================dto字段========
    @ApiModelProperty(value = "模式(1模拟考试 2限时限数 3数量模式 4时间模式)")
    private Integer modelType;

    public static void main(String[] args) {
        SimpleDateFormat sdf=new SimpleDateFormat("yyyyMMddHHmmss");
        System.out.println(String.valueOf(System.currentTimeMillis()));
        System.out.println(sdf.format(new Date()));
    }

}
